home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / comm / www / Lynx282dev24.lha / usr / local / lib / lynx.cfg next >
Text File  |  1999-04-25  |  96KB  |  2,090 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. #
  6. # Definition pairs are of the form  VARIABLE:DEFINITION
  7. # NO spaces are allowed between the pair items.
  8. #
  9. #  If you do not have write access to /usr/local/bin you may change
  10. #  the default location of this file in the userdefs.h file and recompile,
  11. #  or specify its location on the command line with the "-cfg"
  12. #  command line option.
  13. #
  14. # Items may be commented out by putting a '#' as the FIRST char of the line
  15. #
  16. # All definitions must be flush left and have NO spaces.!!!
  17. #
  18. #
  19. # Starting with Lynx 2.8.1, the lynx.cfg file has a crude "include"
  20. # facility.  This means that you can take advantage of the global lynx.cfg
  21. # while also supplying your own tweaks.
  22. #
  23. # You can use a command-line argument (-cfg /where/is/lynx.cfg) or an
  24. # environment variable (LYNX_CFG=/where/is/lynx.cfg).
  25. # For instance, put in your .profile or .login:
  26. #
  27. #   LYNX_CFG=~/lynx.cfg; export LYNX_CFG   # in .profile for sh/ksh/bash/etc.
  28. #   setenv LYNX_CFG ~/lynx.cfg             # in .login for [t]csh
  29. #
  30. # Then in ~/lynx.cfg:
  31. #
  32. #INCLUDE:/usr/local/lib/lynx.cfg
  33. #       ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
  34. #and now your own tweaks.
  35.  
  36. # STARTFILE is the default starting URL if none is specified
  37. #   on the command line or via a WWW_HOME environment variable;
  38. #   Lynx will refuse to start without a starting URL of some kind.
  39. # STARTFILE can be remote, e.g. http://www.w3.org/default.html ,
  40. #                or local, e.g. file://localhost/PATH_TO/FILENAME ,
  41. #           where PATH_TO is replaced with the complete path to FILENAME
  42. #           using Unix shell syntax and including the device on VMS.
  43. #
  44. # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  45. # site:
  46. #STARTFILE:http://www.altavista.com/
  47. STARTFILE:file://localhost/home/lynx_bookmarks.html
  48.  
  49. #
  50. # As an alternative, you may want to use a local URL.  A good choice for this is
  51. # the user's home directory: 
  52. #STARTFILE:file://localhost/~/ 
  53. #
  54. # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  55. # you can connect to reliably.  Otherwise users will become confused and think
  56. # that they cannot run Lynx.
  57.  
  58. # HELPFILE must be defined as a URL and must have a
  59. # complete path if local:
  60. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  61. #   Replace PATH_TO with the path to the lynx_help subdirectory
  62. #   for this distribution (use SHELL syntax including the device
  63. #   on VMS systems).
  64. # The default HELPFILE is:
  65. # http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  66. #   This should be changed to the local path.
  67. #
  68. #HELPFILE:http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  69. HELPFILE:file://localhost/gg/lynx_help/lynx_help_main.html
  70.  
  71. # DEFAULT_INDEX_FILE is the default file retrieved when the
  72. # user presses the 'I' key when viewing any document.
  73. # An index to your CWIS can be placed here or a document containing
  74. # pointers to lots of interesting places on the web.
  75. #
  76. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  77.  
  78. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  79. # if any, offered for reuse or editing when using the 'g'oto command.
  80. # The default is defined in userdefs.h.  If left FALSE, the circular
  81. # buffer of previously entered goto URLs can still be invoked via the
  82. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  83. #
  84. #GOTOBUFFER:FALSE
  85.  
  86. # JUMP_PROMPT is the default statusline prompt for selecting a jumps file
  87. # shortcut.  (see below).
  88. # You can change the prompt here from that defined in userdefs.h.  Any
  89. # trailing white space will be trimmed, and a single space is added by Lynx
  90. # following the last non-white character.  You must set the default prompt
  91. # before setting the default jumps file (below).  If a default jumps file
  92. # was set via userdefs.h, and you change the prompt here, you must set the
  93. # default jumps file again (below) for the change to be implemented.
  94. #
  95. #JUMP_PROMPT:Jump to (use '?' for list):
  96.  
  97. # JUMPFILE is the local file checked for short-cut names for URLs
  98. # when the user presses the 'j' (JUMP) key.  The user will be prompted
  99. # to enter a short-cut name for an URL, which Lynx will then follow
  100. # in a similar manner to 'g'oto; alternatively, s/he can enter '?'
  101. # to view the full JUMPFILE list of short-cuts with associated URLs.
  102. # There is an example jumps file in the samples subdirectory.
  103. # If not defined here or in  userdefs.h , the JUMP command will invoke
  104. # the NO_JUMPFILE statusline message (cp  LYMessages_en.h ).
  105. #
  106. # To allow '?' to work, include in the JUMPFILE
  107. # a short-cut to the JUMPFILE itself, e.g.
  108. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  109. #
  110. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  111. #
  112. # Additional jumps files can be defined and mapped to keystrokes
  113. # in  lynx.cfg , but you should first define the default jumps file,
  114. # which is mapped by default to 'j' (or 'J' when VI keys are ON).
  115. #
  116. # In the following line, include the actual full local path to JUMPFILE,
  117. # but do not include 'file://localhost' in the line.
  118. #JUMPFILE:/FULL_LOCAL_PATH/jumps.html
  119.  
  120. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  121. # if any, offered for reuse or editing when using the 'J'ump command.
  122. # The default is defined in userdefs.h.  If left FALSE, the circular
  123. # buffer of previously entered targets (shortcuts) can still be invoked
  124. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  125. # If multiple jumps files are installed, the recalls of shortcuts will
  126. # be specific to each file.  If Lynx was built with PERMIT_GOTO_FROM_JUMP
  127. # defined, any random URLs used instead of shortcuts will be stored in the
  128. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  129. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  130. # followed by Up-Arrow had been entered).
  131. #
  132. #JUMPBUFFER:FALSE
  133.  
  134. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  135. # suggested filename in "Save to Disk" operations from the 'p'rint or
  136. # 'd'ownload menus.  On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  137. # or Unix syntax (including '~' for the HOME directory).  On Unix, you
  138. # must use Unix syntax.  If the symbol is not defined, or is zero-length
  139. # (""), no prefix will be used, and only a filename for saving in the
  140. # current default directory will be suggested.
  141. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  142. # variable has been set on Unix, or logical has been defined on VMS.
  143. #
  144. #SAVE_SPACE:~/foo/
  145.  
  146. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  147. # treated as an alias for the local host name in checks for URLs on
  148. # the local host (e.g., when the -localhost switch is set), and this
  149. # host name, "localhost", and HTHostName (the fully qualified domain
  150. # name of the system on which Lynx is running) will all be passed as
  151. # local.  A different definition here will override that in userdefs.h.
  152. #
  153. #LYNX_HOST_NAME:www.cc.ukans.edu
  154.  
  155. # localhost aliases
  156. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  157. # the -localhost switch is set.  These need not actually be local, i.e.,
  158. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  159. # other Internet sites.
  160. #
  161. #LOCALHOST_ALIAS:gopher.server.domain
  162. #LOCALHOST_ALIAS:news.server.domain
  163.  
  164. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  165. # the utmp or utmpx structure on systems with utmp capabilities, to
  166. # determine if a user is local to your campus or organization when
  167. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  168. # news, telnet/tn3270 and rlogin URLs.  An "inside" user is assumed
  169. # if your system does not have utmp capabilities.  CHANGE THIS here
  170. # if it was not changed in userdefs.h at compilation time.
  171. #
  172. #LOCAL_DOMAIN:ukans.edu
  173.  
  174. # CHARACTER_SET defines the display character set, i.e., assumed to be
  175. # installed on the user's terminal.  It determines which characters or strings
  176. # will be used to represent 8-bit character entities within HTML.  New
  177. # character sets may be defined as explained in the README files of the
  178. # src/chrtrans directory in the Lynx source code distribution.  For Asian (CJK)
  179. # character sets, it also determines how Kanji code will be handled.  The
  180. # default is defined in userdefs.h and can be changed here or via the
  181. # 'o'ptions menu.  The 'o'ptions menu setting will be stored in the user's RC
  182. # file whenever those settings are saved, and thereafter will be used as the
  183. # default.  For Lynx a "character set" has two names:  a MIME name (for
  184. # recognizing properly labeled charset parameters in HTTP headers etc.), and a
  185. # human-readable string for the 'O'ptions Menu (so you may find info about
  186. # language or group of languages besides MIME name).  Not all 'human-readable'
  187. # names correspond to exactly one valid MIME charset (example is "Chinese");
  188. # in that case an appropriate valid (and more specific) MIME name should be
  189. # used where required.  Well-known synonyms are also processed in the code.
  190. #
  191. # Raw (CJK) mode
  192. #
  193. # Lynx normally translates characters from a document's charset to display
  194. # charset, using ASSUME_CHARSET value (see below) if the document's charset
  195. # is not specified explicitly.  Raw (CJK) mode is OFF for this case.
  196. # When the document charset is specified explicitly, that charset
  197. # overrides any assumption like ASSUME_CHARSET or raw (CJK) mode.
  198. #
  199. # For the Asian (CJK) display character sets, the corresponding charset is
  200. # assumed in documents, i.e., raw (CJK) mode is ON by default.  In raw CJK
  201. # mode, 8-bit characters are not reverse translated in relation to the entity
  202. # conversion arrays, i.e., they are assumed to be appropriate for the display
  203. # character set.  The mode should be toggled OFF when an Asian (CJK) display
  204. # character set is selected but the document is not CJK and its charset not
  205. # specified explicitly.
  206. #
  207. # Raw (CJK) mode may be toggled by user via '@' (LYK_RAW_TOGGLE) key,
  208. # the -raw command line switch or from the 'o'ptions menu.
  209. #
  210. # Raw (CJK) mode effectively changes the charset assumption about unlabeled
  211. # documents.  You can toggle raw mode ON if you believe the document has a
  212. # charset which does correspond to your Display Character Set.  On the other
  213. # hand, if you set ASSUME_CHARSET the same as Display Character Set you get raw
  214. # mode ON by default (but you get assume_charset=iso-8859-1 if you try raw mode
  215. # OFF after it).
  216. #
  217. # Note that "raw" does not mean that every byte will be passed to the screen.
  218. # HTML character entities may get expanded and translated, inappropriate
  219. # control characters filtered out, etc.  There is a "Transparent" pseudo
  220. # character set for more "rawness".
  221. #
  222. # Since Lynx now supports a wide range of platforms it may be useful to note
  223. # the cpXXX codepages used by IBM PC compatible computers, and windows-xxxx
  224. # used by native MS-Windows apps.  We also note that cpXXX pages rarely are
  225. # found on Internet, but are mostly for local needs on DOS.
  226. #
  227. # Recognized character sets include:
  228. #
  229. #    string for 'O'ptions Menu          MIME name
  230. #    ===========================        =========
  231. #    7 bit approximations (US-ASCII)    us-ascii
  232. #    Western (ISO-8859-1)               iso-8859-1
  233. #    Western (ISO-8859-15)              iso-8859-15
  234. #    Western (cp850)                    cp850
  235. #    Western (windows-1252)             windows-1252
  236. #    IBM PC US codepage (cp437)         cp437
  237. #    DEC Multinational                  dec-mcs
  238. #    Macintosh (8 bit)                  macintosh
  239. #    NeXT character set                 next
  240. #    HP Roman8                          hp-roman8
  241. #    Chinese                            euc-cn
  242. #    Japanese (EUC-JP)                  euc-jp
  243. #    Japanese (Shift_JIS)               shift_jis
  244. #    Korean                             euc-kr
  245. #    Taipei (Big5)                      big5
  246. #    Vietnamese (VISCII)                viscii
  247. #    Eastern European (ISO-8859-2)      iso-8859-2
  248. #    Eastern European (cp852)           cp852
  249. #    Eastern European (windows-1250)    windows-1250
  250. #    Latin 3 (ISO-8859-3)               iso-8859-3
  251. #    Latin 4 (ISO-8859-4)               iso-8859-4
  252. #    Baltic Rim (cp775)                 cp775
  253. #    Baltic Rim (windows-1257)          windows-1257
  254. #    Cyrillic (ISO-8859-5)              iso-8859-5
  255. #    Cyrillic (cp866)                   cp866
  256. #    Cyrillic (windows-1251)            windows-1251
  257. #    Cyrillic (KOI8-R)                  koi8-r
  258. #    Arabic (ISO-8859-6)                iso-8859-6
  259. #    Arabic (cp864)                     cp864
  260. #    Arabic (windows-1256)              windows-1256
  261. #    Greek (ISO-8859-7)                 iso-8859-7
  262. #    Greek (cp737)                      cp737
  263. #    Greek2 (cp869)                     cp869
  264. #    Greek (windows-1253)               windows-1253
  265. #    Hebrew (ISO-8859-8)                iso-8859-8
  266. #    Hebrew (cp862)                     cp862
  267. #    Hebrew (windows-1255)              windows-1255
  268. #    Turkish (ISO-8859-9)               iso-8859-9
  269. #    ISO-8859-10                        iso-8859-10
  270. #    Ukrainian Cyrillic (cp866u)        cp866u
  271. #    Ukrainian Cyrillic (KOI8-U)        koi8-u
  272. #    UNICODE (UTF-8)                    utf-8
  273. #    RFC 1345 w/o Intro                 mnemonic+ascii+0
  274. #    RFC 1345 Mnemonic                  mnemonic
  275. #    Transparent                        x-transparent
  276. #
  277. # The value should be the MIME name of a character set recognized by
  278. # Lynx (case insensitive).
  279. # Find RFC 1345 at http://www.ics.uci.edu/pub/ietf/uri/rfc1345.txt .
  280. #
  281. #CHARACTER_SET:iso-8859-1
  282.  
  283. # ASSUME_CHARSET changes the handling of documents which do not
  284. # explicitly specify a charset.  Normally Lynx assumes that 8-bit
  285. # characters in those documents are encoded according to iso-8859-1
  286. # (the official default for the HTTP protocol).  When ASSUME_CHARSET
  287. # is defined here or by an -assume_charset command line flag is in effect,
  288. # Lynx will treat documents as if they were encoded accordingly.
  289. # See above on how this interacts with "raw mode" and the Display
  290. # Character Set.
  291. # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will
  292. # not be saved as permanent value in user's .lynxrc file to avoid more chaos.
  293. #
  294. #ASSUME_CHARSET:iso-8859-1
  295.  
  296. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  297. # files.  If no setting is given here or by an -assume_local_charset
  298. # command line option, the value for ASSUME_CHARSET or -assume_charset
  299. # is used.  It works for both text/plain and text/html files.
  300. # This option will ignore "raw mode" toggling when local files are viewed
  301. # (it is "stronger" than "assume_charset" or the effective change
  302. # of the charset assumption caused by changing "raw mode"),
  303. # so only use when necessary.
  304. #
  305. #ASSUME_LOCAL_CHARSET:iso-8859-1
  306.  
  307. # PREPEND_CHARSET_TO_SOURCE:TRUE tells Lynx to prepend a META CHARSET line
  308. # to text/html source files when they are retrieved for 'd'ownloading
  309. # or passed to 'p'rint functions, so HTTP headers will not be lost.
  310. # This is necessary for resolving charset for local html files,
  311. # while the assume_local_charset is just an assumption.
  312. # For the 'd'ownload option, a META CHARSET will be added only if the HTTP
  313. # charset is present.  The compilation default is TRUE.
  314. # It is generally desirable to have charset information for every local
  315. # html file, but META CHARSET string potentially could cause
  316. # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
  317. # Note that the prepending is not done for -source dumps.
  318. #
  319. #PREPEND_CHARSET_TO_SOURCE:TRUE
  320.  
  321. # NCR_IN_BOOKMARKS:TRUE allows you to save 8-bit characters in bookmark titles
  322. # in the unicode format (NCR).  This may be useful if you need to switch
  323. # display charsets frequently.  This is the case when you use Lynx on different
  324. # platforms, e.g., on UNIX and from a remote PC, and want to keep the bookmarks
  325. # file persistent.
  326. # Another aspect is compatibility:  NCR is part of I18N and HTML4.0
  327. # specifications supported starting with Lynx 2.7.2, Netscape 4.0 and MSIE 4.0.
  328. # Older browser versions will fail so keep NCR_IN_BOOKMARKS:FALSE if you
  329. # plan to use them.
  330. #
  331. #NCR_IN_BOOKMARKS:FALSE
  332.  
  333. # FORCE_8BIT_TOUPPER overrides locale settings and uses internal 8-bit
  334. # case-conversion mechanism for case-insensitive searches in non-ASCII display
  335. # character sets.  It is FALSE by default and should not be changed unless
  336. # you encounter problems with case-insensitive searches.
  337. #
  338. #FORCE_8BIT_TOUPPER:FALSE
  339.  
  340. # While Lynx supports different platforms and display character sets
  341. # we need to limit the charset in outgoing mail to reduce
  342. # trouble for remote recipients who may not recognize our charset.
  343. # You may try US-ASCII as the safest value (7 bit), any other MIME name,
  344. # or leave this field blank (default) to use the display character set.
  345. # Charset translations currently are implemented for mail "subjects= " only.
  346. #
  347. #OUTGOING_MAIL_CHARSET:
  348.  
  349. # If Lynx encounters a charset parameter it doesn't recognize, it will
  350. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  351. # -assume_unrec_charset command line option) for it.  This can be used
  352. # to deal with charsets unknown to Lynx, if they are "sufficiently
  353. # similar" to one that Lynx does know about, by forcing the same
  354. # treatment.  There is no default, and you probably should leave this
  355. # undefined unless necessary.
  356. #
  357. #ASSUME_UNREC_CHARSET:iso-8859-1
  358.  
  359. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  360. # "fr") which will be indicated by Lynx in its Accept-Language headers
  361. # as the preferred language.  If available, the document will be
  362. # transmitted in that language.  Users can override this setting via
  363. # the 'o'ptions menu and save that preference in their RC file.
  364. # This may be a comma-separated list of languages in decreasing preference.
  365. #
  366. #PREFERRED_LANGUAGE:en
  367.  
  368. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  369. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  370. # requests to http servers using an Accept-Charsets header.  Users can
  371. # change it via the 'o'ptions menu and save that preference in their RC file.
  372. # The value should NOT include "ISO-8859-1" or "US-ASCII",
  373. # since those values are always assumed by default.
  374. # If a file in that character set is available, the server will send it.
  375. # If no Accept-Charset header is present, the default is that any
  376. # character set is acceptable.  If an Accept-Charset header is present,
  377. # and if the server cannot send a response which is acceptable
  378. # according to the Accept-Charset header, then the server SHOULD send
  379. # an error response with the 406 (not acceptable) status code, though
  380. # the sending of an unacceptable response is also allowed.  See RFC 2068
  381. # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt).
  382. #
  383. #PREFERRED_CHARSET:
  384.  
  385. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  386. # prepended (together with a scheme://) and appended to the first element
  387. # of command line or 'g'oto arguments which are not complete URLs and
  388. # cannot be opened as a local file (file://localhost/string).  Both
  389. # can be comma-separated lists.  Each prefix must end with a dot, each
  390. # suffix must begin with a dot, and either may contain other dots (e.g.,
  391. # .com.jp).  The default lists are defined in userdefs.h and can be
  392. # replaced here.  Each prefix will be used with each suffix, in order,
  393. # until a valid Internet host is created, based on a successful DNS
  394. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  395. # etc.).  The first element can include a :port and/or /path which will
  396. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  397. # become http://www.wfbr.edu:8002/dir/lynx).  The prefixes will not be
  398. # used if the first element ends in a dot (or has a dot before the
  399. # :port or /path), and similarly the suffixes will not be used if the
  400. # the first element begins with a dot (e.g., .nyu.edu will become
  401. # http://www.nyu.edu without testing www.nyu.com).  Lynx will try to
  402. # guess the scheme based on the first field of the expanded host name,
  403. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  404. # will be made gopher://gopher.wfbr.edu).
  405. #
  406. #URL_DOMAIN_PREFIXES:www.
  407. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  408.  
  409. # Lynx Options Menu style toggle:  forms-based or old-style.
  410. # Works if old-style menu is compiled in as well as the forms-based menu.
  411. #FORMS_OPTIONS:TRUE
  412.  
  413. # Display partial pages while downloading
  414. #PARTIAL:TRUE
  415.  
  416. # Set the threshold # of lines Lynx must render before it
  417. # redraws the screen in PARTIAL mode.  Anything < 0 implies
  418. # use of the screen size.
  419. #PARTIAL_THRES:-1
  420.  
  421. # While getting large files, Lynx shows the approximate rate of transfer.
  422. # Set this to change the units shown:
  423. # TRUE for KB/sec or FALSE for bytes/sec:  default is TRUE.
  424. SHOW_KB_RATE:FALSE
  425.  
  426. # The following three definitions set the number of seconds for
  427. # pauses following statusline messages that would otherwise be
  428. # replaced immediately, and are more important than the unpaused
  429. # progress messages.  Those set by INFOSECS are also basically
  430. # progress messages (e.g., that a prompted input has been canceled)
  431. # and should have the shortest pause.  Those set by MESSAGESECS are
  432. # informational (e.g., that a function is disabled) and should have
  433. # a pause of intermediate duration.  Those set by ALERTSECS typically
  434. # report a serious problem and should be paused long enough to read
  435. # whenever they appear (typically unexpectedly).  The default values
  436. # are defined in userdefs.h, and can be modified here should longer
  437. # pauses be desired for braille-based access to Lynx.
  438. #
  439. #INFOSECS:1
  440. #MESSAGESECS:2
  441. #ALERTSECS:3
  442.  
  443. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  444. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  445. # attribute, instead of using a popup menu.  Note that if the MULTIPLE
  446. # attribute is present in the SELECT start tag, Lynx always will create a
  447. # vertical list of checkboxes for the OPTIONs.
  448. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  449. # menu and saved in the RC file, and always can be toggled via the -popup
  450. # command line switch.
  451. #
  452. #USE_SELECT_POPUPS:TRUE
  453.  
  454. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  455. # over the current link in documents or the current option in popups.
  456. # Showing the cursor is handy if you are a sighted user with a poor
  457. # terminal that can't do bold and reverse video at the same time or
  458. # at all.  It also can be useful to blind users, as an alternative
  459. # or supplement to setting LINKS_AND_FORM_FIELDS_ARE_NUMBERED or
  460. # LINKS_ARE_NUMBERED.
  461. # The default defined here or in userdefs.h can be changed via the
  462. # 'o'ptions menu and saved in the RC file, and always can be toggled
  463. # via the -show_cursor command line switch.
  464. #
  465. #SHOW_CURSOR:FALSE
  466.  
  467. # VERBOSE_IMAGES controls whether or not Lynx replaces the [LINK], [INLINE] and
  468. # [IMAGE] comments (for images without ALT) with filenames of these images.
  469. # This can be useful in determining what images are decorations
  470. # (button.gif, line.gif) and what images are important (if the page writer
  471. # bothers to use useful names).
  472. #
  473. # If this option is set here, it will override the setting in userdefs.h.
  474. #VERBOSE_IMAGES:TRUE
  475.  
  476. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  477. # upon for <H1> through <H6> headers.  The compilation default is FALSE
  478. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  479. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  480. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  481. #
  482. #BOLD_HEADERS:FALSE
  483.  
  484. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  485. # upon for <H1> headers even if BOLD_HEADERS is FALSE.  The compilation
  486. # default is FALSE.  On Unix, compilation with -DUNDERLINE_LINKS also
  487. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  488. #
  489. #BOLD_H1:FALSE
  490.  
  491. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  492. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  493. # have the HT_BOLD default style.  The compilation default is FALSE.
  494. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  495. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  496. #
  497. #BOLD_NAME_ANCHORS:FALSE
  498.  
  499. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  500. # cached in memory at one time.
  501. #
  502. # This so-called cache size (actually, number) is defined in userdefs.h and
  503. # may be modified here and/or with the command line argument -cache=NUMBER
  504. # The minimum allowed value is 2, for the current document and at least one
  505. # to fetch, and there is no absolute maximum number of cached documents.
  506. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  507. # the least recently displayed document will be removed from memory.
  508. #
  509. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  510. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  511. # before previous documents are removed from memory.  If the values for both
  512. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  513. # the least recently displayed documents will be freed until one or the other
  514. # value is no longer exceeded.  The default value is defined in userdefs.h.
  515. #
  516. # The Unix and VMS (but not VAXC) implementations use the C library malloc's
  517. # and calloc's for memory allocation, but procedures for taking the actual
  518. # amount of cache into account still need to be developed.  They use only
  519. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  520. # number of documents to cache (rather than the maximum number only if
  521. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  522. #
  523. #DEFAULT_CACHE_SIZE:10
  524. #DEFAULT_VIRTUAL_MEMORY_SIZE:512000
  525.  
  526. # SOURCE_CACHE sets the source caching behavior for Lynx:
  527. # FILE causes Lynx to keep a temporary file for each cached document
  528. #   containing the HTML source of the document, which it uses to regenerate
  529. #   the document when certain settings are changed (for instance,
  530. #   historical vs. minimal vs. valid comment parsing) instead of reloading
  531. #   the source from the network.
  532. # MEMORY is like FILE, except the document source is kept in memory.  You
  533. #   may wish to adjust DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE
  534. #   accordingly.
  535. # NONE is the default; the document source is not cached, and is reloaded
  536. #   from the network when needed.
  537. #
  538. #SOURCE_CACHE:NONE
  539.  
  540. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  541. # with method POST, dumping any cache from a previous submission of the
  542. # form, including when the document returned by that form is sought with
  543. # the PREV_DOC command or via the history list.  Lynx always resubmits
  544. # forms with method POST when a submit button or a submitting text input
  545. # is activated, but normally retrieves the previously returned document
  546. # if it had links which you activated, and then go back with the PREV_DOC
  547. # command or via the history list.
  548. #
  549. # The default defined here or in userdefs.h can be toggled via
  550. # the -resubmit_forms command line switch.
  551. #
  552. #ALWAYS_RESUBMIT_POSTS:FALSE
  553.  
  554. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  555. # server-side image map if both a server-side and client-side map for the
  556. # same image is indicated in the HTML markup.  The compilation default is
  557. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  558. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  559. # accessing Lynx's text-based rendition of the client-side map (based on
  560. # the content of the associated MAP element).  If the "[ISMAP]" link is
  561. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  562. # Lynx-friendly sites can map to a for-text-client document, homologous
  563. # to what is intended for the content of a FIG element.
  564. #
  565. # The compilation default, or default defined here, can be toggled via
  566. # the "-ismap" command line switch.
  567. #
  568. #NO_ISMAP_IF_USEMAP:FALSE
  569.  
  570. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  571. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  572. # will be resolved with respect to the current document's base, which
  573. # might not be the same as the current document's URL.
  574. # The compilation default is to use the current document's URL in all
  575. # cases (i.e., assume the MAP is present below, if it wasn't present
  576. # above the point in the HTML stream where the USEMAP attribute was
  577. # detected).  Lynx's present "single pass" rendering engine precludes
  578. # checking below before making the decision on how to resolve a USEMAP
  579. # reference consisting solely of a fragment.
  580. #
  581. #SEEK_FRAG_MAP_IN_CUR:TRUE
  582.  
  583. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  584. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  585. # resolved with respect to the current document's base, which might
  586. # not be the same as the current document's URL.  The compilation
  587. # default is to use the current document's URL, as is done for the
  588. # HREF attribute values of Anchors and LINKs that consist solely of
  589. # a fragment.
  590. #
  591. #SEEK_FRAG_AREA_IN_CUR:TRUE
  592.  
  593. # Local execution links and scripts are by default completely disabled
  594. # unless a change is made to the userdefs.h file to enabled them.
  595. # See the Lynx source code distribution and the userdefs.h
  596. # file for more detail on enabling execution links and scripts.
  597. #
  598. # If you have enabled execution links or scripts the following
  599. # two variables control Lynx's action when an execution link
  600. # or script is encountered.
  601. #
  602. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  603. # link or script will be executed no matter where it came from.
  604. # This is EXTREMELY dangerous.  Since Lynx can access files from
  605. # anywhere in the world, you may encounter links or scripts that
  606. # will cause damage or compromise the security of your system.
  607. #
  608. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  609. # links or scripts that reside on the local machine and are
  610. # referenced with a URL beginning with "file://localhost/" or meet
  611. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  612. # executed.  This is much less dangerous than enabling all execution
  613. # links, but can still be dangerous.
  614. #
  615. #LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  616. #LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  617.  
  618. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  619. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  620. # or lynxprog command will be permitted if it was referenced with a URL
  621. # beginning with that string.  If you wish to restrict the referencing URLs
  622. # further, you can extend the string to include a trusted path.  You also can
  623. # specify a trusted directory for http URLs, which will then be treated as
  624. # if they were local rather than remote.  For example:
  625. #
  626. #    TRUSTED_EXEC:file://localhost/trusted/
  627. #    TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  628. #
  629. # If you also wish to restrict the commands which can be executed, create
  630. # a series of rules with the path (Unix) or command name (VMS) following
  631. # the string, separated by a tab.  For example:
  632. #
  633. # Unix:
  634. #    TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  635. #    TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  636. # VMS:
  637. #    TRUSTED_EXEC:file://localhost/<tab>copy
  638. #    TRUSTED_EXEC:file://localhost/<tab>delete
  639. #
  640. # Once you specify a TRUSTED_EXEC referencing string, the default is
  641. # replaced, and all the referencing strings you desire must be specified
  642. # as a series.  Similarly, if you associate a command with the referencing
  643. # string, you must specify all of the allowable commands as a series of
  644. # TRUSTED_EXEC rules for that string.  If you specify ALWAYS_TRUSTED_EXEC
  645. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  646. #
  647. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  648. # URLs in that file will be permitted, regardless of other settings.  If
  649. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  650. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  651. # lynxexec or lynxprog URLs in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  652. # see below) will be allowed.  Note, however, that if Lynx was compiled with
  653. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  654. # is included with the -anonymous switch at run time, then users of an
  655. # anonymous account will not be able to access the jumps file or enter
  656. # 'j'ump shortcuts, and this selective execution feature will be overridden
  657. # as well (i.e., they will only be able to access lynxexec or lynxprog
  658. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  659. #
  660. #TRUSTED_EXEC:none
  661.  
  662. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  663. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it.  This is useful for
  664. # anonymous accounts in which you have disabled execution links generally,
  665. # and may also have disabled jumps file links, but still want to allow
  666. # execution of particular utility scripts or programs.  The format is
  667. # like that for TRUSTED_EXEC.  For example:
  668. #
  669. # Unix:
  670. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  671. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  672. # VMS:
  673. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  674. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  675. #
  676. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  677. #
  678. #ALWAYS_TRUSTED_EXEC:none
  679.  
  680. # Unix:
  681. # =====
  682. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  683. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h).  The format
  684. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  685. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  686. # and path for lynxcgi links will be permitted.  Example rules:
  687. #
  688. #    TRUSTED_LYNXCGI:file://localhost/
  689. #     TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  690. #     TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  691. #
  692. # VMS:
  693. # ====
  694. # Do not define this.
  695. #
  696. #TRUSTED_LYNXCGI:none
  697.  
  698. # Unix:
  699. # =====
  700. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  701. # environment variable to the list of environment variables passed on to the
  702. # lynxcgi script.  Useful variables are HOME, USER, EDITOR, etc...
  703. #
  704. # VMS:
  705. # ====
  706. # Do not define this.
  707. #
  708. #LYNXCGI_ENVIRONMENT:
  709.  
  710. # Unix:
  711. # =====
  712. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  713. # to lynxcgi scripts.  If set and the URL has PATH_INFO data, then
  714. # PATH_TRANSLATED will also be generated.  Examples:
  715. #    LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  716. #    LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  717. #
  718. # VMS:
  719. # ====
  720. # Do not define this.
  721. #
  722. #LYNXCGI_DOCUMENT_ROOT:
  723.  
  724. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  725. # received from https servers never will be sent unencrypted to http
  726. # servers.  The compilation default is to impose this block only if the
  727. # https server included a secure attribute for the cookie.  The normal
  728. # default or that defined here can be toggled via the -force_secure
  729. # command line switch.
  730. #
  731. #FORCE_SSL_COOKIES_SECURE:FALSE
  732.  
  733. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  734. #  the information, or ALERTMAIL if there is no owner, every time
  735. #  that a document cannot be accessed!
  736. #
  737. #  NOTE:  This can generate A LOT of mail, be warned.
  738. #
  739. #MAIL_SYSTEM_ERROR_LOGGING:FALSE
  740.  
  741. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  742. # message) about the existence of any unread mail at startup of Lynx, and
  743. # will get statusline messages if subsequent new mail arrives.  If a jumps
  744. # file with a lynxprog URL for invoking mail is available, or your html
  745. # pages include an mail launch file URL, the user thereby can access mail
  746. # and read the messages.  The checks and statusline reports will not be
  747. # performed if Lynx has been invoked with the -restrictions=mail switch.
  748. #
  749. #  VMS USERS !!!
  750. # New mail is normally broadcast as it arrives, via "unsolicited screen
  751. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  752. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  753. # instead (e.g., in a public account which will be used by people who
  754. # are ignorant about VMS).
  755. #
  756. #CHECKMAIL:FALSE
  757.  
  758. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  759. # must be set so that it points to your site's NNTP server
  760. # (see Lynx Users Guide on environment variables).
  761. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt)
  762. # and does not accept a host field in news URLs (use nntp: instead of news: for
  763. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  764. # RFC).  If you have not set the variable externally, you can set it at run
  765. # time via this configuration file.  It will not override an external setting.
  766. # Note that on VMS it is set as a process logical rather than symbol, and will
  767. # outlive the Lynx image.
  768. # The news reading facility in Lynx is quite limited.  Lynx does not provide a
  769. # full featured news reader with elaborate error checking and safety features.
  770. #
  771. #NNTPSERVER:news.server.dom
  772.  
  773. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  774. # the numbers of articles in news listings, instead of using an unordered
  775. # list.  The default is defined in userdefs.h, and can be overridden here.
  776. #
  777. #LIST_NEWS_NUMBERS:FALSE
  778.  
  779. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  780. # news listings.  The dates always are included in the articles, themselves.
  781. # The default is defined in userdefs.h, and can be overridden here.
  782. #
  783. #LIST_NEWS_DATES:FALSE
  784.  
  785. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  786. # listings with inclusion of links for listing earlier and/or later articles.
  787. # The defaults are defined in HTNews.c as 30 and 40, respectively.  If the
  788. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  789. # in NEWS_CHUNK_SIZE chunks.  You can change the defaults here, and/or on
  790. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  791. # switches.  Note that if the chunk size is increased, here or on the command
  792. # line, to a value greater than the current maximum, the maximum will be
  793. # increased to that number.  Conversely, if the maximum is set to a number
  794. # less than the current chunk size, the chunk size will be reduced to that
  795. # number.  Thus, you need use only one of the two switches on the command
  796. # line, based on the direction of intended change relative to the compilation
  797. # or configuration defaults.  The compilation defaults ensure that there will
  798. # be at least 10 earlier articles before bothering to chunk and create a link
  799. # for earlier articles.
  800. #
  801. #NEWS_CHUNK_SIZE:30
  802. #NEWS_MAX_CHUNK:40
  803.  
  804. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  805. # news groups via Lynx.  If left TRUE, Lynx will use its news gateway to
  806. # post new messages or followups to news groups, using the URL schemes
  807. # described in the "Supported URLs" section of the online 'h'elp.  The
  808. # posts will be attempted via the nntp server specified in the URL, or
  809. # if none was specified, via the NNTPSERVER configuration or environment
  810. # variable.  Links with these URLs for posting or sending followups are
  811. # created by the news gateway when reading group listings or articles
  812. # from nntp servers if the server indicates that it permits posting.
  813. # The compilation default set in userdefs.h can be changed here.  If
  814. # the default is TRUE, posting can still be disallowed via the
  815. # -restrictions command line switch.
  816. # The posting facility in Lynx is quite limited.  Lynx does not provide a
  817. # full featured news poster with elaborate error checking and safety features.
  818. #
  819. #NEWS_POSTING:TRUE
  820.  
  821. # LYNX_SIG_FILE defines the name of a file containing a signature which
  822. # can be appended to email messages and news postings or followups.  The
  823. # user will be prompted whether to append it.  It is sought in the home
  824. # directory.  If it is in a subdirectory, begin it with a dot-slash
  825. # (e.g., ./lynx/.lynxsig).  The definition is set in userdefs.h and can
  826. # be changed here.
  827. #
  828. #LYNX_SIG_FILE:.lynxsig
  829.  
  830. # If USE_MOUSE is set TRUE, Lynx (when configured with ncurses) will allow
  831. # the user to click with button-1 on links to select them.
  832. #USE_MOUSE:FALSE
  833.  
  834. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  835. # If set TRUE, two or more concurrent BRs will be collapsed into a single
  836. # line break.  Note that the valid way to insert extra blank lines in HTML
  837. # is via a PRE block with only newlines in the block.
  838. #
  839. #COLLAPSE_BR_TAGS:TRUE
  840.  
  841. # If TAGSOUP is set, Lynx uses the "Tag Soup DTD" rather than "SortaSGML".
  842. # The two approaches differ by the style of error detection and recovery.
  843. # Tag Soup DTD allows for improperly nested tags; SortaSGML is stricter.
  844. #TAGSOUP:FALSE
  845.  
  846. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  847. # in http server replies.
  848. # The default is defined in userdefs.h, and can be overridden here,
  849. # and/or toggled via the -cookies command line switch.
  850. #
  851. #SET_COOKIES:TRUE
  852.  
  853. # If ACCEPT_ALL_COOKIES is set TRUE, Lynx will accept cookies from all
  854. # domains with no user interaction.
  855. # The default is defined in userdefs.h and can be overridden here, or
  856. # in the .lynxrc file via an o(ptions) screen setting.  It may also be
  857. # toggled via the -accept_all_cookies command line switch.
  858. #
  859. ACCEPT_ALL_COOKIES:TRUE
  860.  
  861. # COOKIE_ACCEPT_DOMAINS and COOKIE_REJECT_DOMAINS are comma-delimited lists
  862. # of domains from which Lynx should automatically accept or reject all
  863. # cookies.  If a domain is specified in both options, rejection will take
  864. # precedence.  The ACCEPT_ALL_COOKIES parameter will override any settings
  865. # made here.
  866. #
  867. #COOKIE_ACCEPT_DOMAINS:
  868. #COOKIE_REJECT_DOMAINS:
  869.  
  870. # COOKIE_LOOSE_INVALID_DOMAINS, COOKIE_STRICT_INVALID_DOMAINS, and
  871. # COOKIE_QUERY_INVALID_DOMAINS are comma-delimited lists of which domains
  872. # should be subjected to varying degrees of validity checking.  If a
  873. # domain is set to strict checking, strict conformance to RFC2109 will
  874. # be applied.  A domain with loose checking will be allowed to set cookies
  875. # with an invalid path or domain attribute.  All domains will default to
  876. # querying the user for an invalid path or domain.
  877. #
  878. #COOKIE_LOOSE_INVALID_DOMAINS:
  879. #COOKIE_STRICT_INVALID_DOMAINS:
  880. #COOKIE_QUERY_INVALID_DOMAINS:
  881.  
  882. # COOKIE_FILE is the default file to store persistent downloaded cookies
  883. # in, if Lynx was compiled with EXP_PERSISTENT_COOKIES.  The cookie file
  884. # can also be specified in .lynxrc or on the commandline.
  885. #COOKIE_FILE:~/.lynx_cookies
  886.  
  887. # PERSISTENT_COOKIES indicates that cookies should be stored for use between
  888. # Lynx sessions.  It is only used if Lynx was compiled with
  889. # EXP_PERSISTENT_COOKIES.  Use this flag to disable the feature.
  890. #PERSISTENT_COOKIES:TRUE
  891.  
  892. # VMS:
  893. #=====
  894. # The mail command and qualifiers are defined in userdefs.h.  Lynx
  895. # will spawn a subprocess to send replies and error messages.  The
  896. # command, and qualifiers (if any), can be re-defined here.  If
  897. # you use PMDF then headers will we passed via a header file.
  898. # If you use "generic" VMS MAIL, the subject will be passed on the
  899. # command line via a /subject="SUBJECT" qualifier, and inclusion
  900. # of other relevant headers may not be possible.
  901. # If your mailer uses another syntax, some hacking of the mailform()
  902. # mailmsg() and reply_by_mail() functions in LYMail.c, and printfile()
  903. # function in LYPrint.c, may be required.
  904. #
  905. #SYSTEM_MAIL:PMDF SEND
  906. #SYSTEM_MAIL_FLAGS:/headers
  907. #
  908. #SYSTEM_MAIL:MAIL
  909. #SYSTEM_MAIL_FLAGS:
  910.  
  911. # Unix:
  912. #======
  913. # The mail path and flags normally are defined for sendmail (or submit
  914. # with MMDF) in userdefs.h.  You can change them here, but should first
  915. # read the zillions of CERT advisories about security problems with Unix
  916. # mailers.
  917. #
  918. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  919. #SYSTEM_MAIL_FLAGS:-mlruxto,cc\*
  920. #
  921. #SYSTEM_MAIL:/usr/sbin/sendmail
  922. #SYSTEM_MAIL_FLAGS:-t -oi
  923. #
  924. #SYSTEM_MAIL:/usr/lib/sendmail
  925. #SYSTEM_MAIL_FLAGS:-t -oi
  926.  
  927. # Win32:
  928. #=======
  929. # Please read sendmail.txt in the LYNX_W32.ZIP distribution
  930. #
  931. #SYSTEM_MAIL:sendmail -f me@my.host -h my.host -r my.smtp.mailer -m SMTP
  932.  
  933. # VMS ONLY:
  934. #==========
  935. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  936. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  937. # by the user.  If you are using a different Internet mail transport, change
  938. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  939. #
  940. #MAIL_ADRS:"IN%%""%s"""
  941.  
  942. # VMS ONLY:
  943. #==========
  944. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  945. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  946. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  947. # headers of such files will indicate that they are Stream_LF with Implied
  948. # Carriage Control, which is incorrect, and can cause downloading software
  949. # to get confused and unhappy.  If you do set it FALSE, you can use the
  950. # FIXED512.COM command file, which is included in this distribution, to do
  951. # the conversion externally.
  952. #
  953. #USE_FIXED_RECORDS:TRUE
  954.  
  955. # VI_KEYS can be turned on by the user in the options
  956. # screen or the .lynxrc file.  This is just the default.
  957. #
  958. #VI_KEYS_ALWAYS_ON:FALSE
  959.  
  960. # EMACS_KEYS can be turned on by the user in the options
  961. # screen or the .lynxrc file.  This is just the default.
  962. #
  963. #EMACS_KEYS_ALWAYS_ON:FALSE
  964.  
  965. # DEFAULT_KEYPAD_MODE specifies whether numbers work like arrows or
  966. # numbered links.
  967. # DEFAULT_KEYPAD_MODE set to TRUE indicates numbers act as arrows,
  968. # and set to FALSE indicates numbers refer to numbered links on the page.
  969. # LINKS_AND_FORM_FIELDS_ARE_NUMBERED cannot currently be set by this option.
  970. #
  971. #DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  972.  
  973. # The default search type.
  974. # This is a default that can be overridden by the user!
  975. #
  976. #CASE_SENSITIVE_ALWAYS_ON:FALSE
  977.  
  978. # DEFAULT_BOOKMARK_FILE is the filename used for storing personal bookmarks.
  979. # It will be prepended by the user's home directory.
  980. # NOTE that a file ending in .html or other suffix mapped to text/html
  981. # should be used to ensure its treatment as HTML.  The built-in default
  982. # is lynx_bookmarks.html.  On both Unix and VMS, if a subdirectory off of
  983. # the HOME directory is desired, the path should begin with "./" (e.g.,
  984. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  985. # Lynx will create the bookmark file, if it does not already exist, on
  986. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  987. # (i.e., if the definition is just filename.html without any slashes),
  988. # but requires a pre-existing subdirectory to create the file there.
  989. # The user can re-define the default bookmark file, as well as a set
  990. # of sub-bookmark files if multiple bookmark file support is enabled
  991. # (see below), via the 'o'ptions menu, and can save those definitions
  992. # in the .lynxrc file.
  993. #
  994. #DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  995.  
  996. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  997. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  998. # first prompt the user to select an active sub-bookmark file or the
  999. # default bookmark file.  FALSE is the default so that one (the default)
  1000. # bookmark file will be available initially.  The definition here will
  1001. # override that in userdefs.h.  The user can turn on multiple bookmark
  1002. # support via the 'o'ptions menu, and can save that choice as the startup
  1003. # default via the .lynxrc file.  When on, the setting can be STANDARD or
  1004. # ADVANCED.  If SUPPORT is set to the latter, and the user mode also is
  1005. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  1006. # which the user can enter the letter token (A - Z) of the desired bookmark,
  1007. # or '=' to get a menu of available bookmark files.  The menu always is
  1008. # presented in NOVICE or INTERMEDIATE mode, or if the SUPPORT is set to
  1009. # STANDARD.  No prompting or menu display occurs if only one (the startup
  1010. # default) bookmark file has been defined (define additional ones via the
  1011. # 'o'ptions menu).  The startup default, however set, can be overridden on
  1012. # the command line via the -restrictions=multibook or the -anonymous or
  1013. # -validate switches.
  1014. #
  1015. #MULTI_BOOKMARK_SUPPORT:FALSE
  1016.  
  1017. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  1018. # be forced off, and cannot to toggled on via the 'o'ptions menu.  The
  1019. # compilation setting is normally FALSE, and can be overridden here.
  1020. # It can also be set via the -restrictions=multibook or the -anonymous
  1021. # or -validate command line switches.
  1022. #
  1023. #BLOCK_MULTI_BOOKMARKS:FALSE
  1024.  
  1025. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  1026. # NOVICE shows a three line help message at the bottom of the screen.
  1027. # INTERMEDIATE shows normal amount of help (one line).
  1028. # ADVANCED help is replaced by the URL of the current link.
  1029. #
  1030. #DEFAULT_USER_MODE:NOVICE
  1031.  
  1032. # DEFAULT_EDITOR sets the default editor for Lynx users.
  1033. # If an editor is defined then the user may edit local documents
  1034. # using that editor.  The editor will also be used for sending
  1035. # mail messages.  If no editor is defined here or by the user
  1036. # the user will not be able to edit local documents and a primitive
  1037. # line oriented mail input mode will be used.
  1038. # NOTE: Do not define an editor unless you know that every user will
  1039. #       know how to use it.  Most users do not enjoy getting stuck in
  1040. #       an unknown editor that they can't exit.  Users can
  1041. #       easily define an editor of their own using the options menu,
  1042. #       so it is not always desirable to set the DEFAULT_EDITOR.
  1043. #
  1044. #DEFAULT_EDITOR:
  1045.  
  1046. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR except that it can't be
  1047. # changed.
  1048. #
  1049. #SYSTEM_EDITOR:
  1050.  
  1051. # Proxy variables
  1052. # Lynx version 2.2 and beyond supports the use of proxy servers that can act as
  1053. # firewall gateways and caching servers.  They are preferable to the older
  1054. # gateway servers.  Each protocol used by Lynx can be mapped separately using
  1055. # PROTOCOL_proxy environment variables (see Lynx Users Guide).  If you have not set
  1056. # them externally, you can set them at run time via this configuration file.
  1057. # They will not override external settings.  The no_proxy variable can be used
  1058. # to inhibit proxying to selected regions of the Web (see below).  Note that on
  1059. # VMS these proxy variables are set as process logicals rather than symbols, to
  1060. # preserve lowercasing, and will outlive the Lynx image.
  1061. #
  1062. #http_proxy:http://some.server.dom:port/
  1063. #https_proxy:http://some.server.dom:port/
  1064. #ftp_proxy:http://some.server.dom:port/
  1065. #gopher_proxy:http://some.server.dom:port/
  1066. #news_proxy:http://some.server.dom:port/
  1067. #newspost_proxy:http://some.server.dom:port/
  1068. #newsreply_proxy:http://some.server.dom:port/
  1069. #snews_proxy:http://some.server.dom:port/
  1070. #snewspost_proxy:http://some.server.dom:port/
  1071. #snewsreply_proxy:http://some.server.dom:port/
  1072. #nntp_proxy:http://some.server.dom:port/
  1073. #wais_proxy:http://some.server.dom:port/
  1074. #finger_proxy:http://some.server.dom:port/
  1075. #cso_proxy:http://some.server.dom:port/
  1076. #no_proxy:host.domain.dom
  1077.  
  1078. # The no_proxy variable can be a comma-separated list of strings defining
  1079. # no-proxy zones in the DNS domain name space.  If a tail substring of the
  1080. # domain-path for a host matches one of these strings, transactions with that
  1081. # node will not be proxied.
  1082. #no_proxy:domain.path1,path2
  1083. #
  1084. # A single asterisk as an entry will override all proxy variables and no
  1085. # transactions will be proxied.
  1086. #no_proxy:*
  1087. # This is the only allowed use of * in no_proxy.
  1088. #
  1089. # Warning:  Note that setting 'il' as an entry in this list will block proxying
  1090. # for the .mil domain as well as the .il domain.  If the entry is '.il' this
  1091. # will not happen.
  1092.  
  1093. # PRINTER & DOWNLOADER DEFINITIONS:
  1094. # Lynx has 4 pre-defined print options & 1 pre-defined download option,
  1095. # which are called up on-screen when `p' or `d' are entered;
  1096. # any number of options can be added by the user, as explained below.
  1097. #
  1098. # For `p' pre-defined options are: `Save to local file', `E-mail the file',
  1099. # `Print to screen' and `Print to local printer attached to vt100'.
  1100. # `Print to screen' allows file transfers in the absence of alternatives
  1101. # and is often the only option allowed here for anonymous users;
  1102. # the 3rd & 4th options are not pre-defined for DOS/WINDOWS versions of Lynx.
  1103. # For `d' the pre-defined option is: `Download to local file'.
  1104. #
  1105. # To define your own print or download option use the following formats:
  1106. # PRINTER:<name>:<command>:<option>:<lines/page>
  1107. # DOWNLOADER:<name>:<command>:<option>
  1108. #
  1109. # <name>       is what you will see on the print/download screen.
  1110. # <command>    is the command your system will execute:
  1111. #              the 1st %s in the command will be replaced
  1112. #              by the temporary filename used by Lynx;
  1113. #              a 2nd %s will be replaced by a filename of your choice,
  1114. #              for which Lynx will prompt, offering a suggestion;
  1115. #              if the command format of your printer/downloader requires
  1116. #              a different layout, you will need to use a script
  1117. #              (see the last 2 download examples below).
  1118. # <option>     TRUE : the printer/downloader will always be ENABLED,
  1119. #              except that downloading is disabled when -validate is used;
  1120. #              FALSE : both will be DISABLED for anonymous users
  1121. #              and printing will be disabled when -noprint is used.
  1122. # <lines/page> (printers: optional) the number of lines/page (default 66):
  1123. #              used to compute the approximate output size
  1124. #              and prompt if the document is > 4 printer pages;
  1125. #              it uses current screen length for the computation
  1126. #              when `Print to screen' is selected.
  1127. #
  1128. # You must put the whole definition on one line;
  1129. # if you use a colon, precede it with a backslash.
  1130. #
  1131. # `Printer' can be any file-handling program you find useful,
  1132. # even if it does not physically print anything.
  1133. #
  1134. # Usually, downloading involves the use of (e.g.) Ckermit or ZModem
  1135. # to transfer files to a user's local machine over a serial link,
  1136. # but download options do not have to be download-protocol programs.
  1137. #
  1138. # Printer examples:
  1139. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  1140. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  1141. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  1142. # If you have a very busy VMS print queue
  1143. # and Lynx deletes the temporary files before they have been queued,
  1144. # use the VMSPrint.com included in the distribution:
  1145. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  1146. # To specify a print option at run-time:
  1147. # NBB if you have ANONYMOUS users, DO NOT allow this option!
  1148. #PRINTER:Specify at run-time:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  1149. # To pass to a sophisticated file viewer: -k suppresses invocation
  1150. # of hex display mode if 8-bit or control characters are present;
  1151. # +s invokes secure mode (see ftp://space.mit.edu/pub/davis/most):
  1152. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  1153. #
  1154. # Downloader examples:
  1155. # in Kermit, -s %s is the filename sent, -a %s the filename on arrival
  1156. # (if they are given in reverse order here, the command will fail):
  1157. #DOWNLOADER:Use Kermit to download to the terminal:kermit -i -s %s -a %s:TRUE
  1158. # NB don't use -k with Most, so that binaries will invoke hexadecimal mode:
  1159. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  1160. # The following example gives wrong filenames
  1161. # (`sz' doesn't support a suggested filename parameter):
  1162. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  1163. # The following example returns correct filenames
  1164. # by using a script to make a subdirectory in /tmp,
  1165. # but may conflict with very strong security or permissions restrictions:
  1166. #DOWNLOADER:Use Zmodem to download to the local terminal:set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:TRUE
  1167.  
  1168. # Note for OS/390: The following is strongly recommended  /* S/390 -- gil -- 1464 */
  1169. # to undo ASCII->EBCDIC conversion.
  1170. #
  1171. #DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE
  1172.  
  1173. # Unix ONLY:
  1174. #===========
  1175. # Uploader definitions (implemented only with Unix DIRED_SUPPORT;
  1176. #                       see the Makefile in the top directory,
  1177. #            and the header of ./src/LYUpload.c)
  1178. # any number of uploaders may be defined by using multiple
  1179. # uploader definition sets.  Uploaders may be any programs
  1180. # that could be useful to your users; they do not necessarily
  1181. # have to be upload protocol programs.  The most common use
  1182. # of an uploader is to use Ckermit or some other transfer
  1183. # program so that the user may easily transfer files from
  1184. # their local machine over a serial link.
  1185. #
  1186. # the definition of an uploader is of the same form as a downloader
  1187. # UPLOADER:<uploadername>:<uploader command>:<uploader option>
  1188. #
  1189. #  You must put the whole definition on one line.
  1190. #
  1191. #  If you must use a colon, precede it with a backslash!
  1192. #
  1193. #  If you do not include a %s, you will not be prompted for an
  1194. #  output filename.
  1195. #
  1196. #    example
  1197. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1198. #UPLOADER:Use Zmodem to upload from your computer: rz %s:TRUE
  1199.  
  1200. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1201. # be allowed to specify files beginning with a dot in reply to output filename
  1202. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1203. # will not be included in the directory browser's listings.  If set FALSE, you
  1204. # can force it to be treated as TRUE via -restrictions=dotfiles.  If set FALSE
  1205. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1206. # may save the preference in the RC file).
  1207. #
  1208. #NO_DOT_FILES:TRUE
  1209.  
  1210. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1211. # to http or https servers if the personal_mail_address has been defined via
  1212. # the 'o'ptions menu.  The compilation default is TRUE (no From header is
  1213. # sent) and the default can be changed here.  The default can be toggled at
  1214. # run time via the -from switch.  Note that transmissions of From headers
  1215. # have become widely considered to create an invasion of privacy risk.
  1216. #
  1217. #NO_FROM_HEADER:TRUE
  1218.  
  1219. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1220. # transmissions to servers.  Lynx normally sends the URL of the document
  1221. # from which the link was derived, but not for startfile URLs, 'g'oto
  1222. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1223. # URLs that include the content from form submissions with method GET.
  1224. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1225. # switch.
  1226. #
  1227. #NO_REFERER_HEADER:FALSE
  1228.  
  1229. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1230. # transmissions to servers for links or actions derived from documents
  1231. # or forms with file URLs.  This would ensure that paths associated
  1232. # with the local file system are never indicated to servers, even if
  1233. # NO_REFERER_HEADER is FALSE.  If left FALSE here, it can be set TRUE
  1234. # at run time via the -nofilereferer switch.
  1235. #
  1236. #NO_FILE_REFERER:FALSE
  1237.  
  1238. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1239. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1240. # strings will be links for the resolved SRC rather than just text.  For
  1241. # ISMAP or other graphic links, the ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1242. # strings will have '-' and a link labeled "[IMAGE]" for the resolved SRC
  1243. # appended.  See also VERBOSE_IMAGES flag.
  1244. #
  1245. # The default defined here will override that in userdefs.h, and the user
  1246. # can use LYK_IMAGE_TOGGLE to toggle the feature on or off at run time.
  1247. #
  1248. # The default also can be toggled via an "-image_links" command line switch.
  1249. #
  1250. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1251.  
  1252. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which do not
  1253. # specify an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1254. # i.e., they'll be treated as having ALT="".  If MAKE_LINKS_FOR_ALL_IMAGES
  1255. # is defined or toggled to TRUE, however, the pseudo-ALTs will be created
  1256. # for inlines, so that they can be used as links to the SRCs.
  1257. # See also VERBOSE_IMAGES flag.
  1258. #
  1259. # The default defined here will override that in userdefs.h, and the user
  1260. # can use LYK_INLINE_TOGGLE to toggle the feature on or off at run time.
  1261. #
  1262. # The default also can be toggled via a "-pseudo_inlines" command line
  1263. # switch.
  1264. #
  1265. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1266.  
  1267. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1268. # for emphasis tags in dumps.
  1269. #
  1270. # The default defined here will override that in userdefs.h, and the user
  1271. # can toggle the default via a "-underscore" command line switch.
  1272. #
  1273. #SUBSTITUTE_UNDERSCORES:FALSE
  1274.  
  1275. # If QUIT_DEFAULT_YES is TRUE then when the QUIT command is entered, any
  1276. # response other than n or N will confirm.  It should be FALSE if you
  1277. # prefer the more conservative action of requiring an explicit Y or y to
  1278. # confirm.  The default defined here will override that in userdefs.h.
  1279. #
  1280. #QUIT_DEFAULT_YES:TRUE
  1281.  
  1282. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1283. # behavior of treating any '>' as a terminator for comments, instead of
  1284. # seeking a valid '-->' terminator (note that white space can be present
  1285. # between the '--' and '>' in valid terminators).  The compilation default
  1286. # is FALSE.
  1287. #
  1288. # The compilation default, or default defined here, can be toggled via a
  1289. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1290. #
  1291. #HISTORICAL_COMMENTS:FALSE
  1292.  
  1293. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1294. # of '--' pairs as serial comments within an overall comment element,
  1295. # and instead will seek only a '-->' terminator for the overall comment
  1296. # element.  This emulates the Netscape v2.0 comment parsing bug, and
  1297. # will help Lynx cope with the use of dashes as "decorations", which
  1298. # consequently has become common in so-called "Enhanced for Netscape"
  1299. # pages.  Note that setting Historical comments on will override the
  1300. # Minimal or Valid setting.
  1301. #
  1302. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1303. # set it TRUE here, until Netscape gets its comment parsing right,
  1304. # and "decorative" dashes cease to be so common.
  1305. #
  1306. # The compilation default, or default defined here, can be toggled via a
  1307. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1308. #
  1309. MINIMAL_COMMENTS:TRUE
  1310.  
  1311. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1312. # treating '>' as a co-terminator of a double-quoted attribute value
  1313. # and the tag which contains it, as was done in old versions of Netscape
  1314. # and Mosaic.  The compilation default is FALSE.
  1315. #
  1316. # The compilation default, or default defined here, can be toggled via
  1317. # a "-soft_dquotes" command line switch.
  1318. #
  1319. #SOFT_DQUOTES:FALSE
  1320.  
  1321. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1322. # browsers to strip a leading "../" segment from relative URLs in HTML
  1323. # documents with a http or https base URL, if this would otherwise lead to
  1324. # an absolute URLs with those characters still in it.  Such URLs are normally
  1325. # erroneous and not what is intended by page authors.  Lynx will issue
  1326. # a warning message when this occurs.
  1327. #
  1328. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1329. # without taking any special actions or issuing Warnings, in most cases
  1330. # this will result in an error response from the server.
  1331. #
  1332. # Note that Lynx never tries to fix similar URLs for protocols other than
  1333. # http and https, since they are less common and may actually be valid in
  1334. # some cases.
  1335. #
  1336. #STRIP_DOTDOT_URLS:TRUE
  1337.  
  1338. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1339. # displaying each new screenful of text.  Though less efficient for normal
  1340. # use, this allows programs that maintain a buffer of previously-displayed
  1341. # text to recognize the continuity of what has been displayed, so that
  1342. # previous screenfuls can be reviewed by whatever method the program uses
  1343. # to scroll back through previous text.  For example, the PC comm program
  1344. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1345. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1346. # will have been stored on the local PC and will therefore be displayed
  1347. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1348. # speed of the comm connection (but Lynx will not know about the change,
  1349. # so you must restore the last screen before resuming with Lynx commands).
  1350. #
  1351. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1352. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1353. # some poor curses implementations).
  1354. #
  1355. # The default compilation or configuration setting can be toggled via an
  1356. # "-enable_scrollback" command line switch.
  1357. #
  1358. #ENABLE_SCROLLBACK:FALSE
  1359.  
  1360. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1361. # of news articles for buried article and URL references and convert them
  1362. # to links.  The compilation default is TRUE, but some email addresses
  1363. # enclosed in angle brackets ("<user@address>") might be converted to false
  1364. # news links, and uuencoded messages might be corrupted.  The conversion is
  1365. # not done when the display is toggled to source or when 'd'ownloading, so
  1366. # uuencoded articles can be saved intact regardless of these settings.
  1367. #
  1368. # The default setting can be toggled via a "-buried_news" command line
  1369. # switch.
  1370. #
  1371. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1372.  
  1373. # If PREPEND_BASE_TO_SOURCE is set to FALSE, Lynx will not prepend a
  1374. # Request URL comment and BASE element to text/html source files when
  1375. # they are retrieved for 'd'ownloading or passed to 'p'rint functions.
  1376. # The compilation default is TRUE.  Note that this prepending is not
  1377. # done for -source dumps, unless the -base switch also was included on
  1378. # the command line, and the latter switch overrides the setting of the
  1379. # PREPEND_BASE_TO_SOURCE configuration variable.
  1380. #
  1381. #PREPEND_BASE_TO_SOURCE:TRUE
  1382.  
  1383. # MIME types and viewers!
  1384. #
  1385. # file extensions may be assigned to MIME types using
  1386. # the SUFFIX: definition.
  1387. #
  1388. # NOTE: It is normally preferable to define new extension mappings in
  1389. #       EXTENSION_MAP files (see below) instead of here:  Definitions
  1390. #       here are overriden by those in EXTENSION_MAP files and even by
  1391. #       some built-in defaults in src/HTInit.c.
  1392. #       Extension mappings have an effect mostly for ftp and local files,
  1393. #       they are NOT used to determine the type of content for URLs with
  1394. #       the http protocol.  This is because HTTP servers already specify
  1395. #       the MIME type in the Content-Type header.  [It may still be
  1396. #       necessary to set up an appropriate suffix for some MIME types,
  1397. #       even if they are accessed only via the HTTP protocol, if the viewer
  1398. #       (see below) for those MIME types requires a certain suffix for the
  1399. #       temporary file passed to it.]
  1400. #
  1401. # The SUFFIX definition takes the form of:
  1402. #    SUFFIX:<file extension>:<mime type>
  1403. # for instance the following definition maps the
  1404. # extension ".gif" to the mime type "image/gif"
  1405. #    SUFFIX:.gif:image/gif
  1406. #
  1407. # file suffixes are case INsensitive!
  1408. #
  1409. # The suffix definitions listed here in the default lynx.cfg file are
  1410. # among those established via src/HTInit.c.  You can change any of the
  1411. # defaults by editing that file, or via the global or personal mime.types
  1412. # files at run time.  Assignments made here will be overridden by entries
  1413. # in those files.
  1414. #
  1415. #SUFFIX:.ps:application/postscript
  1416. #SUFFIX:.eps:application/postscript
  1417. #SUFFIX:.ai:application/postscript
  1418. #SUFFIX:.rtf:application/x-rtf
  1419. #SUFFIX:.snd:audio/basic
  1420. #SUFFIX:.gif:image/gif
  1421. #SUFFIX:.rgb:image/x-rgb
  1422. #SUFFIX:.pict:image/x-pict
  1423. #SUFFIX:.xbm:image/x-xbitmap
  1424. #SUFFIX:.tiff:image/x-tiff
  1425. #SUFFIX:.jpg:image/jpeg
  1426. #SUFFIX:.jpeg:image/jpeg
  1427. #SUFFIX:.mpg:video/mpeg
  1428. #SUFFIX:.mpeg:video/mpeg
  1429. #SUFFIX:.mov:video/quicktime
  1430. #SUFFIX:.hqx:application/octet-stream
  1431. #SUFFIX:.bin:application/octet-stream
  1432. #SUFFIX:.exe:application/octet-stream
  1433. #SUFFIX:.tar:application/octet-stream
  1434. #SUFFIX:.Z:application/octet-stream
  1435. #SUFFIX:.gz:application/octet-stream
  1436. #SUFFIX:.bz2:application/octet-stream
  1437. #SUFFIX:.zip:application/octet-stream
  1438. #SUFFIX:.lzh:application/octet-stream
  1439. #SUFFIX:.lha:application/octet-stream
  1440. #SUFFIX:.dms:application/octet-stream
  1441.  
  1442. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1443. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  1444. # configuration file, or in src/HTInit.c.  See the example mime.types file
  1445. # in the samples subdirectory.
  1446. #
  1447. #     Unix:
  1448. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  1449. #     VMS:
  1450. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  1451. #
  1452. #    Unix (sought in user's home directory):
  1453. #PERSONAL_EXTENSION_MAP:.mime.types
  1454. #    VMS (sought in user's sys$login directory):
  1455. #PERSONAL_EXTENSION_MAP:mime.types
  1456.  
  1457. # VMS:
  1458. # ====
  1459. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  1460. # for viewing image content types when the DECW$DISPLAY logical
  1461. # is set.  Make it the foreign command for your system's X image
  1462. # viewer (commonly, "xv").  Make it "exit" or something like that
  1463. # if you don't have one.  It can be anything that will handle GIF,
  1464. # TIFF and other popular image formats.  Freeware ports of xv for
  1465. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  1466. # http://www.openvms.digital.com/cd/XV310A/ subdirectories.  You
  1467. # must also have a "%s" for the filename.  The default is defined
  1468. # in userdefs.h and can be overridden here, or via the global or
  1469. # personal mailcap files (see below).
  1470. #
  1471. #XLOADIMAGE_COMMAND:xv %s
  1472.  
  1473. # Unix:
  1474. # =====
  1475. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  1476. # viewing image content types when the DISPLAY environment variable
  1477. # is set.  Make it the full path and name of the xli (also know as
  1478. # xloadimage or xview) command, or other image viewer.  Put 'echo' or
  1479. # something like it here if you don't have a suitable viewer.  It can
  1480. # be anything that will handle GIF, TIFF and other popular image formats
  1481. # (xli does).  The freeware distribution of xli is available in the
  1482. # ftp://ftp.x.org/contrib subdirectory.  The shareware, xv, also is
  1483. # suitable.  You must also have a "%s" for the filename; "&" for
  1484. # background is optional.  The default is defined in userdefs.h and can be
  1485. # overridden here, or via the global or personal mailcap files (see below).
  1486. # Note that open is used as the default for NeXT, instead of the
  1487. # XLOADIMAGE_COMMAND definition.
  1488. # If you use xli, you may want to add the -quiet flag.
  1489. #
  1490. #XLOADIMAGE_COMMAND:xli %s &
  1491.  
  1492. # MIME types may be assigned to external viewers using
  1493. # the VIEWER definition.
  1494. #
  1495. # NOTE: if you do not define a viewer to a new MIME type
  1496. #       that you assigned above then it will be saved to
  1497. #       disk by default.
  1498. #       It is normally preferable to define new viewers in
  1499. #       MAILCAP files (see below) instead of here:  Definitions
  1500. #       here are overridden by those in MAILCAP files and even
  1501. #       by some built-in defaults in src/HTInit.c.
  1502. #
  1503. # The VIEWER definition takes the form of:
  1504. #    VIEWER:<mime type>:<viewer command>[:environment]
  1505. #      where -mime type is the MIME content type of the file
  1506. #         -viewer command is a system command that can be
  1507. #             used to display the file where %s is replaced
  1508. #             within the command with the physical filename
  1509. #             (e.g., "ghostview %s" becomes "ghostview /tmp/temppsfile")
  1510. #            -environment is optional.  The only valid keywords
  1511. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS
  1512. #             environment is specified then the viewer will only be
  1513. #             defined when the user has the environment variable DISPLAY
  1514. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  1515. #             is specified the specified viewer will only be defined when the
  1516. #             user DOES NOT have the environment variable DISPLAY defined.
  1517. #  examples:
  1518. #        VIEWER:image/gif:xli %s:XWINDOWS
  1519. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  1520. #               VIEWER:application/start-elm:elm
  1521. #
  1522. # You must put the whole definition on one line.
  1523. #
  1524. # If you must use a colon in the viewer command, precede it with a backslash!
  1525. #
  1526. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  1527. # file are among those established via src/HTInit.c.  For the image types,
  1528. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  1529. # (open is used for NeXT).  You can change any of these defaults via the
  1530. # global or personal mailcap files.  Assignments made here will be overridden
  1531. # by entries in those files.
  1532. #
  1533. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  1534. #VIEWER:image/gif:xli %s&:XWINDOWS
  1535. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  1536. #VIEWER:image/x-rgb:xli %s&:XWINDOWS
  1537. #VIEWER:image/x-tiff:xli %s&:XWINDOWS
  1538. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  1539. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  1540. #
  1541. # AMIGA USERS:
  1542. # If you've executed 'Unixdirs3 UNIXROOT', you can use normal amiga
  1543. # programs as viewers.
  1544. # If Lynx says that can't found the program, you can do this:
  1545. # - Assign <path_of_the_program_you_want_use> C: ADD
  1546. # - Use the absolute path of the program in Unix style (/dh0/gfx/amp %s)
  1547. # This is a little example:
  1548. VIEWER:image/*:/sys/utilities/multiview %s SCREEN &
  1549. VIEWER:video/mpeg:/dh0/gfx/amp &s &
  1550. # VIEWER:video/mpeg:amp %s &
  1551.  
  1552. # The global and personal MAILCAP files allow you to specify external
  1553. # viewers to be spawned when Lynx encounters different MIME types, which
  1554. # will override any of the suffix maps in this (lynx.cfg) configuration
  1555. # file, or in src/HTInit.c.  See http://www.internic.net/rfc/rfc1524.txt
  1556. # and the example mailcap file in the samples subdirectory.
  1557. #
  1558. #    Unix:
  1559. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  1560. #    VMS:
  1561. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  1562. #
  1563. #     Sought in user's home (Unix) or sys$login (VMS) directory.
  1564. #PERSONAL_MAILCAP:.mailcap
  1565.  
  1566. # If your terminal (or terminal emulator, or operating system) does not
  1567. # support 8-bit input (at all or in easy way), you can use Lynx to
  1568. # generate 8-bit characters from 7-bit ones output by terminal.
  1569. #
  1570. # Currently available keyboard layouts:
  1571. #    ROT13'd keyboard layout
  1572. #    JCUKEN Cyrillic, for AT 101-key kbd
  1573. #    YAWERTY Cyrillic, for DEC LK201 kbd
  1574. #
  1575. # This feature is ifdef'd with EXP_KEYBOARD_LAYOUT.
  1576. #KEYBOARD_LAYOUT:JCUKEN Cyrillic, for AT 101-key kbd
  1577.  
  1578. # Key remapping definitions!
  1579. #
  1580. # You may redefine the keymapping of any function in Lynx by
  1581. # using the KEYMAP variable.  The form of KEYMAP is:
  1582. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  1583. #
  1584. # You must map upper and lowercase keys separately.
  1585. #
  1586. # A representative list of functions mapped to their default keys is
  1587. # provided below.  All of the mappings are commented out by default
  1588. # since they just repeat the default mappings, except for TOGGLE_HELP
  1589. # (see below).  See LYKeymap.c for the complete key mapping.  Use the
  1590. # 'K'eymap command when running Lynx for a list of the _current_ keymappings.
  1591. #
  1592. # (However, in contrast to the output of 'K' command,
  1593. # 'H'elp (lynx_help/*.html and lynx_help/keystrokes/*.html files) shows
  1594. # the default mapping unless you change that files manually,
  1595. # so you are responsible for possible deviations
  1596. # when you are changing any KEYMAP below).
  1597. #
  1598. #
  1599. # Keystrokes for special keys are represented by the following codes:
  1600. #         Up Arrow: 0x100
  1601. #       Down Arrow: 0x101
  1602. #      Right Arrow: 0x102
  1603. #       Left Arrow: 0x103
  1604. #        Page Down: 0x104
  1605. #          Page Up: 0x105
  1606. #      Keypad Home: 0x106
  1607. #       Keypad End: 0x107
  1608. #   Function key 1: 0x108
  1609. # vt100   Help Key: 0x108
  1610. # vt100     Do Key: 0x109
  1611. # vt100   Find Key: 0x10A
  1612. # vt100 Select Key: 0x10B
  1613. #       Insert Key: 0x10C
  1614. # Remove (Del) Key: 0x10D
  1615. #      ignored key  0x10E (reserved for internal use, DO_NOTHING)
  1616. # Back (Shift) Tab: 0x10F
  1617. #    reserved code  0x11D (reserved for internal use with -use_mouse)
  1618. #    reserved code  0x290 (reserved for internal use with -use_mouse)
  1619. #
  1620. # Other codes not listed above may be available for additional keys,
  1621. # depending on operating system and libraries used to compile Lynx.
  1622.  
  1623. #KEYMAP:0x2F:SOURCE    # Toggle source viewing mode (show HTML source)
  1624. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  1625. #KEYMAP:q:QUIT        # Ask the user to quit
  1626. #KEYMAP:Q:ABORT        # Quit without verification
  1627. #KEYMAP:0x20:NEXT_PAGE    # Move down to next page
  1628. #KEYMAP:-:PREV_PAGE    # Move up to previous page
  1629. #KEYMAP:^P:UP_TWO    # Move display up two lines
  1630. #KEYMAP:0x10C:UP_TWO    # Function key Insert - Move display up two lines
  1631. #KEYMAP:^N:DOWN_TWO    # Move display down two lines
  1632. #KEYMAP:0x10D:DOWN_TWO    # Function key Remove - Move display down two lines
  1633. #KEYMAP:(:UP_HALF    # Move display up half a page
  1634. #KEYMAP:):DOWN_HALF    # Move display down half a page
  1635. #KEYMAP:^W:REFRESH    # Refresh the screen
  1636. #KEYMAP:^A:HOME        # Go to top of current document
  1637. #KEYMAP:0x106:HOME    # Keypad Home - Go to top of current document
  1638. #KEYMAP:0x10A:HOME    # Function key Find - Go to top of current document
  1639. #KEYMAP:^E:END        # Go to bottom of current document
  1640. #KEYMAP:0x107:END    # Keypad End - Go to bottom of current document
  1641. #KEYMAP:0x10B:END    # Function key Select - Go to bottom of current document
  1642. #KEYMAP:0x100:PREV_LINK    # Move to the previous link or page
  1643. #KEYMAP:0x101:NEXT_LINK    # Move to the next link or page
  1644. #KEYMAP:0x10F:FASTBACKW_LINK    # Move always to previous link or text area
  1645. #KEYMAP:^I:FASTFORW_LINK    # Move always to next link or text area
  1646. #KEYMAP:<:UP_LINK       # Move to the link above
  1647. #KEYMAP:>:DOWN_LINK    # Move to the link below
  1648. #KEYMAP:0x7F:HISTORY    # Show the history list
  1649. #KEYMAP:0x08:HISTORY    # Show the history list
  1650. #KEYMAP:0x103:PREV_DOC    # Return to the previous document in history stack
  1651. #KEYMAP:0x102:ACTIVATE    # Select the current link
  1652. #KEYMAP:0x109:ACTIVATE    # Function key Do - Select the current link
  1653. #KEYMAP:g:GOTO        # Goto a random URL
  1654. #KEYMAP:G:ECGOTO    # Edit the current document's URL and go to it
  1655. #KEYMAP:H:HELP        # Show default help screen
  1656. #KEYMAP:0x108:HELP    # Function key Help - Show default help screen
  1657. #KEYMAP:i:INDEX        # Show default index
  1658. #*** Edit FORM_LINK_SUBMIT_MESSAGE in userdefs.h if you change NOCACHE ***
  1659. #KEYMAP:x:NOCACHE    # Force submission of form or link with no-cache
  1660. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  1661. #KEYMAP:z:INTERRUPT    # Interrupt network transmission
  1662. #KEYMAP:m:MAIN_MENU    # Return to the main menu
  1663. #KEYMAP:o:OPTIONS    # Show the options menu
  1664. #KEYMAP:i:INDEX_SEARCH    # Search a server based index
  1665. #KEYMAP:/:WHEREIS    # Find a string within the current document
  1666. #KEYMAP:n:NEXT        # Find next occurrence of string within document
  1667. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  1668. #KEYMAP:e:EDIT        # Edit current document or form's textarea (call: ^Ve)
  1669. #KEYMAP:E:ELGOTO    # Edit the current link's URL or ACTION and go to it
  1670. #KEYMAP:=:INFO        # Show info about current document
  1671. #KEYMAP:p:PRINT        # Show print options
  1672. #KEYMAP:a:ADD_BOOKMARK    # Add current document to bookmark list
  1673. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  1674. #KEYMAP:V:VLINKS    # List links visited during the current Lynx session
  1675. #KEYMAP:!:SHELL        # Spawn default shell
  1676. #KEYMAP:d:DOWNLOAD    # Download current link
  1677. #KEYMAP:j:JUMP        # Jump to a predefined target
  1678. #KEYMAP:k:KEYMAP    # Display the current key map
  1679. #KEYMAP:l:LIST        # List the references (links) in the current document
  1680. #KEYMAP:#:TOOLBAR    # Go to the Toolbar or Banner in the current document
  1681. #KEYMAP:^T:TRACE_TOGGLE    # Toggle detailed tracing for debugging
  1682. #KEYMAP:;:TRACE_LOG    # View trace log if available for the current session
  1683. #KEYMAP:*:IMAGE_TOGGLE    # Toggle inclusion of links for all images
  1684. #KEYMAP:[:INLINE_TOGGLE    # Toggle pseudo-ALTs for inlines with no ALT string
  1685. #KEYMAP:]:HEAD        # Send a HEAD request for current document or link
  1686. #*** Must be compiled with USE_EXTERNALS to enable EXTERN ***
  1687. #KEYMAP:.:EXTERN    # Run external program with url
  1688. #*** Escaping from text input fields with ^V is independent from this: ***
  1689. #KEYMAP:^V:SWITCH_DTD    # Toggle between SortaSGML and TagSoup HTML parsing
  1690. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  1691. #KEYMAP:0x10E:DO_NOTHING # Does nothing (ignore this key)
  1692. #
  1693. # In addition, the following functions are not mapped to any keys by default:
  1694. #
  1695. #KEYMAP:???:RIGHT_LINK    # Move to the link to the right
  1696. #KEYMAP:???:LEFT_LINK    # Move to the link to the left
  1697.  
  1698. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  1699. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  1700. # LYMessages_en.h  Otherwise, it will be NOVICE_LINE_TWO.
  1701. #
  1702. #KEYMAP:O:TOGGLE_HELP    # Show other commands in the novice help menu
  1703.  
  1704. # Alternate jumps files can be defined and mapped to keys here.  If the
  1705. # keys have already been mapped, then those mappings will be replaced,
  1706. # but you should leave at least one key mapped to the default jumps
  1707. # file.  You optionally may include a statusline prompt string for the
  1708. # mapping.  You must map upper and lowercase keys separately (beware of
  1709. # mappings to keys which the user can further remap via the 'o'ptions
  1710. # menu).  The format is:
  1711. #
  1712. #    JUMPFILE:path:key[:prompt]
  1713. #
  1714. # where path should begin with a '/' (i.e., not include file://localhost).
  1715. # Any white space following a prompt string will be trimmed, and a single
  1716. # space will be added by Lynx.
  1717. #
  1718. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  1719.  
  1720. # VMS ONLY:
  1721. #==========
  1722. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  1723. # use as the Directory/File Manager (sources, objects, or executables are
  1724. # available from ftp://narnia.memst.edu/).  CSWING_PATH should be defined
  1725. # here or in userdefs.h to your foreign command for CSwing, with any
  1726. # regulatory switches you want included.  If not defined, or defined as
  1727. # a zero-length string ("") or "none" (case-insensitive), the support
  1728. # will be disabled.  It will also be disabled if the -nobrowse or
  1729. # -selective switches are used, or if the file_url restriction is set.
  1730. #
  1731. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  1732. # CSwing, normally with the current default directory as an argument to
  1733. # position the user on that node of the directory tree.  However, if the
  1734. # current document is a local directory listing, or a local file and not
  1735. # one of the temporary menu or list files, the associated directory will
  1736. # be passed as an argument, to position the user on that node of the tree.
  1737. #
  1738. #CSWING_PATH:swing
  1739.  
  1740. # Unix ONLY:
  1741. #===========
  1742. # LIST_FORMAT defines the display for local files when Lynx has been
  1743. # compiled with LONG_LIST defined in the Makefile.  The default is set
  1744. # in userdefs.h, normally to "ls -l" format, and can be changed here
  1745. # by uncommenting the indicated lines, or adding a definition with a
  1746. # modified parameter list.
  1747. #
  1748. # The percent items in the list are interpreted as follows:
  1749. #
  1750. #    %p    Unix-style permission bits
  1751. #    %l    link count
  1752. #    %o    owner of file
  1753. #    %g    group of file
  1754. #    %d    date of last modification
  1755. #    %a    anchor pointing to file or directory
  1756. #    %A    as above but don't show symbolic links
  1757. #    %t    type of file (description derived from MIME type)
  1758. #    %T    MIME type as known by Lynx (from mime.types or default)
  1759. #    %k    size of file in Kilobytes
  1760. #    %K    as above but omit size for directories
  1761. #    %s    size of file in bytes
  1762. #
  1763. # Anything between the percent and the letter is passed on to sprintf.
  1764. # A double percent yields a literal percent on output.  Other characters
  1765. # are passed through literally.
  1766. #
  1767. # If you want only the filename:
  1768. #
  1769. #LIST_FORMAT:    %a
  1770. #
  1771. # If you want a brief output:
  1772. #
  1773. #LIST_FORMAT:   %4K %-12.12d %a
  1774. #
  1775. # If you want the Unix "ls -l" format:
  1776. #
  1777. #LIST_FORMAT:    %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  1778.  
  1779. # Unix ONLY:
  1780. #===========
  1781. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  1782. # The behavior of the default configuration given here is much the same
  1783. # as it was when this menu was hard-coded but these items can now be adjusted
  1784. # to suit local needs.  In particular, many of the LYNXDIRED actions can be
  1785. # replaced with lynxexec, lynxprog and lynxcgi script references.
  1786. #
  1787. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  1788. # definitions, so a complete set must then be defined here.
  1789. #
  1790. # Each line consists of the following fields:
  1791. #
  1792. #    DIRED_MENU:type:suffix:link text:extra text:action
  1793. #
  1794. #    type: TAG:   list only when one or more files are tagged
  1795. #          FILE:  list only when the current selection is a regular file
  1796. #          DIR:   list only when the current selection is a directory
  1797. #          LINK:  list only when the current selection is a symbolic link
  1798. #
  1799. #    suffix:  list only if the current selection ends in this pattern
  1800. #
  1801. #    link text:  the displayed text of the link
  1802. #
  1803. #    extra text:  the text displayed following the link
  1804. #
  1805. #    action:  the URL to be followed upon selection
  1806. #
  1807. #    link text and action are scanned for % sequences that are expanded
  1808. #    at display time as follows:
  1809. #
  1810. #            %p  path of current selection
  1811. #            %f  filename (last component) of current selection
  1812. #            %t  tagged list (full paths)
  1813. #            %l  list of tagged file names
  1814. #            %d  the current directory
  1815. #
  1816. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  1817. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  1818.  
  1819. #DIRED_MENU:FILE::Install:(of current selection):LYNXDIRED://INSTALL_SRC%p
  1820. #DIRED_MENU:DIR::Install:(of current selection):LYNXDIRED://INSTALL_SRC%p
  1821. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  1822. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  1823. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  1824.  
  1825. # Following depends on OK_PERMIT
  1826. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  1827. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  1828.  
  1829. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  1830. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  1831. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  1832. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1833. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1834. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1835.  
  1836. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  1837. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  1838.  
  1839. # Following depends on OK_TAR and !ARCHIVE_ONLY
  1840. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  1841.  
  1842. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  1843. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  1844. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  1845.  
  1846. # Following depends on !ARCHIVE_ONLY
  1847. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  1848.  
  1849. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  1850. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  1851.  
  1852. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  1853. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  1854.  
  1855. # Following depends on OK_TAR and !ARCHIVE_ONLY
  1856. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  1857.  
  1858. # Following depends on OK_TAR
  1859. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  1860.  
  1861. # Following depends on OK_TAR and OK_GZIP
  1862. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  1863.  
  1864. # Following depends on OK_ZIP
  1865. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  1866.  
  1867. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  1868.  
  1869. # Following depends on OK_GZIP
  1870. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  1871.  
  1872. # Following depends on OK_ZIP
  1873. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  1874.  
  1875. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  1876. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  1877. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  1878.  
  1879. # Unix ONLY:
  1880. #===========
  1881. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  1882. # core dumps via abort() calls on fatal errors or assert()
  1883. # calls to check potentially fatal errors.  The compilation
  1884. # default normally is FALSE, and can be changed here.  The
  1885. # compilation or configuration default can be toggled via
  1886. # the -core command line switch.
  1887. # Note that this setting cannot be used to prevent core dumps
  1888. # with certainty.  If this is important, means provided by the
  1889. # operating system or kernel should be used.
  1890. #
  1891. #NO_FORCED_CORE_DUMP:FALSE
  1892.  
  1893. # COLORS (only available if compiled with SVr4 curses or slang)
  1894. #
  1895. # The line must be of the form:
  1896. # COLOR:Integer:Foreground:Background
  1897. #
  1898. # The Integer value is interpreted as follows:
  1899. #     0 - normal               - normal text
  1900. #     1 - bold                 - hyperlinks, see also BOLD_* options above
  1901. #     2 - reverse              - statusline
  1902. #     3 - bold + reverse        (not used)
  1903. #     4 - underline                   - text emphasis (EM, I, B tags etc.)
  1904. #     5 - bold + underline            - hyperlinks within text emphasis
  1905. #     6 - reverse + underline         - currently selected hyperlink
  1906. #     7 - reverse + underline + bold  - WHEREIS search hits
  1907. #
  1908. # Each Foreground and Background value must be one of:
  1909. #      black              red            green            brown
  1910. #       blue          magenta             cyan        lightgray
  1911. #       gray        brightred      brightgreen           yellow
  1912. # brightblue    brightmagenta       brightcyan            white
  1913. #
  1914. # or (if you have configured using --enable-default-colors with ncurses or
  1915. # slang), "default" may be used for foreground and background.
  1916. #
  1917. # Uncomment and change any of the compilation defaults.
  1918. #
  1919. # AMIGA USERS:
  1920. # I've found that black,red,green and brown correspond to the first
  1921. # palette colors, and blue, magenta, cyan and lightgray to the last
  1922. # ones. I've set the following COLOR definitions to work fine in
  1923. # my 8-Color WB, but modify it if you don't like it or it doesn't
  1924. # match with your palette preset.
  1925. #
  1926. COLOR:0:red:black
  1927. COLOR:1:brown:black
  1928. COLOR:2:red:green
  1929. COLOR:3:green:black
  1930. COLOR:4:red:lightgray
  1931. COLOR:5:green:brown
  1932. COLOR:6:brown:green
  1933. COLOR:7:lightgray:brown
  1934.  
  1935. # External application support.  This feature allows Lynx to pass a given
  1936. # URL to an external program.  It was written for three reasons.
  1937. #
  1938. # 1) To overcome the deficiency    of Lynx_386 not supporting ftp and news.
  1939. #    External programs can be used instead by passing the URL.
  1940. #
  1941. # 2) To allow for background    transfers in multitasking systems.
  1942. #    I use wget for http and ftp transfers via the external command.
  1943. #
  1944. # 3) To allow for new URLs to be used through Lynx.
  1945. #      URLs can be made up such as mymail: to spawn desired applications
  1946. #      via the external command.
  1947. #
  1948. # Restrictions can be imposed using -restrictions=externals at the Lynx
  1949. # command line.  This will disallow all EXTERNAL lines in lynx.cfg that
  1950. # end in FALSE.  TRUE lines will still function.
  1951. #
  1952. # The lynx.cfg line is as follows:
  1953. #
  1954. # EXTERNAL:<url>:<command> %s:<norestriction>
  1955. #
  1956. # <url> Any given URL.  This can be normal ones like ftp or http or it
  1957. # can be one made up like mymail.
  1958. #
  1959. # <command> The command to run with %s being the URL that will be passed.
  1960. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  1961. # downloading http and ftp files in the background.  In Win95 I use
  1962. # "start ncftp %s" to spawn ncftp in a new window.
  1963. #
  1964. # <norestriction> This complements the -restrictions=externals feature to allow
  1965. # for certain externals to be enabled while restricting others.  TRUE means
  1966. # a command will still function while Lynx is restricted.  WB
  1967. #
  1968. # EXTERNAL:ftp:wget %s &:TRUE
  1969. EXTERNAL:http:wget -q %s &:TRUE
  1970. EXTERNAL:ftp:wget -q %s &:TRUE
  1971.  
  1972. # CERN-style rules, EXPERIMENTAL  -  URL-specific rules
  1973. #
  1974. # A CERN-style rules file can be given with RULESFILE.  Use the system's
  1975. # native format for filenames, on Unix '~' is also recognized.  If a filename
  1976. # is given, the file must exist.
  1977. #
  1978. # Single CERN-style rules can be specified with RULES.
  1979. #
  1980. # Both options can be repeated, rules accumulate in the order
  1981. # given, they will be applied in first-to-last order.  See cernrules.txt
  1982. # in the samples subdirectory for further explanation.
  1983. #
  1984. # Examples:
  1985. #    RULESFILE:/etc/lynx/cernrules
  1986. #    RULE:Fail    gopher:*             # reject by scheme
  1987. #    RULE:Pass    finger://*@localhost/         # allow this,
  1988. #    RULE:Fail    finger:*             # but not others
  1989. #    RULE:Map    http://old.server/*    http://new.server/*
  1990.  
  1991.  
  1992. # Pretty source view settings. These settings are in effect when -prettysrc
  1993. # was specified.
  1994. # The following lexical elements (lexems) are recognised:
  1995. # comment, tag, attribute, attribute value, generalized angle brackets (
  1996. # '<' '>' '</' ), entity, hyperlink destination , entire file,bad sequence,
  1997. # bad tag, bad attribute, sgml special.
  1998. #  The following group of option tells which styles will surround each
  1999. # lexem. The syntax of option in this group is:
  2000. #HTMLSRC_<LEXEMNAME>:<TAGSPEC>:<TAGSPEC>
  2001. # The first <TAGSPEC> specifies what tags will precede lexems of that class
  2002. # in the internal html markup. The second - what will be placed (internally)
  2003. # after it.
  2004. # TAGSPEC has the following syntax:
  2005. # <TAGSPEC>:= [ (<TAGOPEN> | <TAGCLOSE>) <SPACE>+ ]*
  2006. # <TAGOPEN>:= tagname[.classname]
  2007. # <TAGCLOSE>:= !tagname
  2008. #
  2009. # The following table gives correspondence between lexem and lexem name
  2010. #  Lexem                     LEXEMNAME FURTHER EXPLANATION
  2011. # ------------------------------------
  2012. # comment                    COMM
  2013. # tag                        TAG       everything in gen. brackets
  2014. # attribute                  ATTRIB
  2015. # attribute value            ATTRVAL
  2016. # generalized brackets       ABRACKET  <  >  </
  2017. # entity                     ENTITY
  2018. # hyperlink destination      HREF
  2019. # entire file                ENTIRE
  2020. # bad sequence               BADSEQ    bad entity or invalid construct at text
  2021. #                                      level.
  2022. # bad tag                    BADTAG    Unrecognized contruct in generalized
  2023. #                                      brackets.
  2024. # bad attribute              BADATTR   The name of the attribute unknown to lynx
  2025. #                                      of the tag known to lynx. (ie
  2026. #                                      attributes of unknown tags will have
  2027. #                                      markup of  ATTRIB)
  2028. # sgml special               SGMLSPECIAL doctype, sgmlelt, sgmlele,
  2029. #                                      sgmlattlist, marked section, identifier
  2030. #
  2031. #                 Notes:
  2032. # 1) The markup for HTML_ENTIRE will be emitted only once - it will surround
  2033. # entire file source.
  2034. # 2) The tagnames specified by TAGPEC should be valid html tag names.
  2035. # 3) If the tag/class comblination given by TAGOPEN is not assigned a color
  2036. #    style in lss file (for lynx compiled with lss support), that tag/class
  2037. #    combination will be anyway emitted during internal html markup. Such
  2038. #    combinations will be also reported to the trace log.
  2039. # 4) Lexem 'tag' means everything contained in generalized angle brackets
  2040. # 5) Angle brackets of html specials won't be surrounded by markup for ABRACKET
  2041. #
  2042. #         Examples:
  2043. # HTMLSRC_COMM:B I:!I !B
  2044. #         - html comments will be surrounded by <b><i> and </i></b> in the
  2045. #           internal html markup
  2046. # HTMLSRC_ATTRVAL: span.attrval : !span
  2047. #         - values of the attributes will be surrounded by the
  2048. #           <SPAN class=attrval> </SPAN>
  2049. # HTMLSRC_HREF::
  2050. #         - no special html markup will surround hyperlink destinations (
  2051. #           this means that only default color style for hrefs will be applied
  2052. #           to them)
  2053. #
  2054. # For lynx compiled with lss support, the following settings are the default:
  2055. #HTMLSRC_COMM:span.htmlsrc_comment:!span
  2056. #HTMLSRC_TAG:span.htmlsrc_tag:!span
  2057. #HTMLSRC_ATTRIB:span.htmlsrc_attrib:!span
  2058. #HTMLSRC_ATTRVAL:span.htmlsrc_attrval:!span
  2059. #HTMLSRC_ABRACKET:span.htmlsrc_abracket:!span
  2060. #HTMLSRC_ENTITY:span.htmlsrc_entity:!span
  2061. #HTMLSRC_HREF:span.htmlsrc_href:!span
  2062. #HTMLSRC_ENTIRE:span.htmlsrc_entire:!span
  2063. #HTMLSRC_BADSEQ:span.htmlsrc_badseq:!span
  2064. #HTMLSRC_BADTAG:span.htmlsrc_badtag:!span
  2065. #HTMLSRC_BADATTR:span.htmlsrc_badattr:!span
  2066. #HTMLSRC_SGMLSPECIAL:span.htmlsrc_sgmlspecial:!span
  2067. # the styles corresponding to them are present in sample .lss file.
  2068. # For lynx compiled without lss support, the following settings are the default:
  2069. #HTMLSRC_COMM:b:!b
  2070. #HTMLSRC_TAG:b:!b
  2071. #HTMLSRC_ATTRIB::
  2072. #HTMLSRC_ATTRVAL:!b:b
  2073. #HTMLSRC_ABRACKET:b:!b
  2074. #HTMLSRC_ENTITY:b:!b
  2075. #HTMLSRC_HREF::
  2076. #HTMLSRC_ENTIRE::
  2077. #HTMLSRC_BADSEQ:b:!b
  2078. #HTMLSRC_BADTAG::
  2079. #HTMLSRC_BADATTR:!b:b
  2080. #HTMLSRC_SGMLSPECIAL:b:!b
  2081. #
  2082. # Other source-view related options:
  2083. #
  2084. # Options HTMLSRC_TAGNAME_XFORM and HTMLSRC_ATTRNAME_XFORM control the way the
  2085. # names of tags and names of attributes are transformed correspondingly.
  2086. # Possible values: 0 - lowercase, 1 - leave as is, 2 - uppercase.
  2087. #HTMLSRC_TAGNAME_XFORM:2
  2088. #HTMLSRC_ATTRNAME_XFORM:2
  2089.  
  2090.